package com.glqiang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.glqiang.domain.entity.Menu;
import com.glqiang.domain.vo.MenuVo;
import com.glqiang.response.ResponseResult;

import java.util.List;

/**
 * (Menu)表服务接口
 *
 * @author glqiang
 * @since 2022-11-22 22:36:00
 */
public interface MenuService extends IService<Menu> {

    /**
     * 通过用户id获取菜单
     *
     * @param userId 用户id
     * @return 菜单
     */
    ResponseResult<List<MenuVo>> listMenu(Long userId);
}

